<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript">
  //window.open()会被浏览器拦截
    /*window.location.href = 'about:blank'
    window.close()*/
    alert("running")
    var a = $("<a href='http://localhost:8081/webstorm/pages/index.html?_ijt=andot40n8kddfuu4f2v7ngqqrf#' target='_self'>Apple</a>").get(0);
    var e = document.createEvent('MouseEvents');
    e.initEvent( 'click', true, true );
    a.dispatchEvent(e);
</script>
<body>
</body>
</html>